package com.jk.controller;

import com.jk.vo.WorkOrder;
import com.jk.service.WorkOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * @author 李向鹏
 * @create 2017-12-22 16:04
 **/
@RestController
@RequestMapping("WorkOrder")
public class WorkOrderController {

    @Autowired
    private WorkOrderService workOrderService;

    @GetMapping("SelectWorkOrder")
    public List<Map> SelectWorkOrder(WorkOrder workOrder) {
        return workOrderService.SelectWorkOrder(workOrder);
    }

}
